package com.company.structural.braidge_pattern.refined_abstraction;

import com.company.structural.braidge_pattern.Matrix;
import com.company.structural.braidge_pattern.abstraction.Image;

/**
 * @ClassName BMPImage
 * @Author tiezheng.han
 * @Date 2020/8/31 14:03
 **/
public class BMPImage extends Image {
    @Override
    public void parseFile(String fileName) {
        // 模拟解析JPG文件并获得一个像素矩阵对象m
        Matrix m = new Matrix();
        imp.doPaint(m);
        System.out.println(fileName + ",格式为BMP");
    }
}
